package org.jypj.dev.util;

import org.jypj.dev.model.Shoes;

/**
 * @author yu_chen
 * @create 2017-11-13 10:52
 **/
public class ShoesUtil {

    /**
     * 初始化相似鞋款
     *
     * @param shoes 当前鞋子对象
     */
    public static String initSimilar(Shoes shoes) {
        String style = "";
        switch (shoes.getStyle()) {
            case "德比靴":
                style = "布鲁克德比";
                break;
            case "布鲁克牛津":
                style = "布鲁克德比";
                break;
            default:
                style = shoes.getStyle();
                break;
        }
        return style;
    }
}
